#!/bin/bash

path="$(pwd -W)"
filename="DMA_UART"

openocd -s "$path" -f interface/stlink.cfg -f target/stm32f1x.cfg -c "program \"$path/build/$filename/$filename.hex\" verify" -c "reset run" -c "exit"